/**
 * 
 */
package cn.panda.edu.service;

import cn.panda.edu.model.Courseware;
import com.github.pagehelper.PageInfo;

/**  
 * 类描述：  
 * @author: 苑庆涛 
 * @date： 2018-01-16 下午7:38:48  
 */
public interface CoursewareService {
	/**
	 * 
	* @Title: getAllCourseware 
	* @Description: 查询所有  模糊查询  分页
	*@param name
	*@return  
	* List<Courseware>
	 */
	PageInfo<Courseware> getAllCourseware(Integer pageIndex, Integer pageSize, String name);
	/**
	 * 
	* @Title: deleteByPrimaryKey 
	* @Description: 根据课件id删除
	*@param coursewareId
	*@return  
	* int
	 */
	int deleteByPrimaryKey(Integer coursewareId);
	/**
     * 
    * @Title: insert 
    * @Description: 添加上传ppt
    *@param record
    *@return  
    * int
     */
    int insert(Courseware record);
}
